package com.qingmi.farmer.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * 用户信息
 * Created by 67535 on 2018/4/28.
 */

public class UserInfo {

    @SerializedName("Token")
    private String token;

    @SerializedName("Phone")
    private String phone;

    //用户头像
    @SerializedName("Avatar")
    private String avatar;

    //用户昵称
    @SerializedName("NickName")
    private String nickName;

    //用户名称 真实姓名
    @SerializedName("UserName")
    private String userName;

    //性别
    @SerializedName("Gender")
    private int gender;

    @SerializedName("BirthdayAt")
    private long birthday;

    //身份证
    @SerializedName("CID")
    private String cid;

    //地址
    @SerializedName("Address")
    private String address;

    //城市id
    @SerializedName("CityId")
    private String cityId;

    //城市
    @SerializedName("CityName")
    private String cityName;

    //用户类型 0-农户，1-商户，2-生资，3-合作社
    @SerializedName("UserTypeId")
    private String userType;

    //合作社信息
    @SerializedName("Cooperative")
    private Cooperative cooperative;

    //支付宝账户
    @SerializedName("AliPayAccount")
    private AliPayAccount aliPayAccount;

    //签约状态
    @SerializedName("SigningStatus")
    private String signingStatus;

    //是否设置支付密码
    @SerializedName("IsPayPassword")
    private boolean hasPayPassword;

    //默认地址
    @SerializedName("DefaultAddress")
    private Address defaultAddress;

    @SerializedName("TotalMoney")
    private double totalMoney;

    @SerializedName("SuperviseId")
    private String superviseId;

    //管局名称
    @SerializedName("SuperviseName")
    private String superviseName;

    //旱田面积
    @SerializedName("GlebeAcreage")
    private double glebeAceage;

    //水田面积
    @SerializedName("WetFieldAcreage")
    private double wetFieldAcreage;

    //合计面积
    @SerializedName("TotalAcreage")
    private double totalAcreage;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Cooperative getCooperative() {
        return cooperative;
    }

    public void setCooperative(Cooperative cooperative) {
        this.cooperative = cooperative;
    }

    public String getSigningStatus() {
        return signingStatus;
    }

    public void setSigningStatus(String signingStatus) {
        this.signingStatus = signingStatus;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public AliPayAccount getAliPayAccount() {
        return aliPayAccount;
    }

    public void setAliPayAccount(AliPayAccount aliPayAccount) {
        this.aliPayAccount = aliPayAccount;
    }

    public boolean isHasPayPassword() {
        return hasPayPassword;
    }

    public boolean getHasPayPassword() {
        return hasPayPassword;
    }

    public void setHasPayPassword(boolean hasPayPassword) {
        this.hasPayPassword = hasPayPassword;
    }

    public Address getDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(Address defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }


    public void setBirthday(long birthday) {
        this.birthday = birthday;
    }
    public long getBirthday() {
        return birthday;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getSuperviseName() {
        return superviseName;
    }

    public String getSuperviseId() {
        return superviseId;
    }

    public void setSuperviseId(String superviseId) {
        this.superviseId = superviseId;
    }

    public void setSuperviseName(String superviseName) {
        this.superviseName = superviseName;
    }

    public double getGlebeAceage() {
        return glebeAceage;
    }

    public void setGlebeAceage(double glebeAceage) {
        this.glebeAceage = glebeAceage;
    }

    public double getWetFieldAcreage() {
        return wetFieldAcreage;
    }

    public void setWetFieldAcreage(double wetFieldAcreage) {
        this.wetFieldAcreage = wetFieldAcreage;
    }

    public double getTotalAcreage() {
        return totalAcreage;
    }

    public void setTotalAcreage(double totalAcreage) {
        this.totalAcreage = totalAcreage;
    }
}
